import styled from "styled-components";

export const DjToplistsWrap = styled.div`
  width: 426px;
  .jm-rank {
    width: 47px;
    text-align: center;
    .jm-rank-ph {
      color: #da4545;
      font-size: 14px;
    }
    .jmicon {
      display: inline-block;
    }
    .zeroP {
      color: #999;
      .zero {
        width: 6px;
        height: 6px;
        background-position: -74px -274px;
        margin-right: 2px;
      }
    }
    .new {
      width: 16px;
      height: 17px;
      background-position: -67px -283px;
    }
    .downP {
      color: #4abbeb;
      .down {
        width: 6px;
        height: 6px;
        background-position: -74px -324px;
        margin-right: 2px;
      }
    }
    .upP {
      color: #ba2226;
      .up {
        width: 6px;
        height: 6px;
        background-position: -74px -304px;
        margin-right: 2px;
      }
    }
  }
  .jm-toplists {
    display: flex;
    height: 40px;
    line-height: 40px;
    justify-content: space-between;
    border-bottom: 2px solid #c20c0c;
    p {
      cursor: pointer;
      font-size: 24px;
      color: #333;
    }
    a {
      color: #666;
    }
  }
  .jm-g-ul-box {
    border: 1px solid #eeeeee;
    border-top: none;
    ul {
      li {
        height: 60px;
        padding: 10px 0;

        :nth-child(2n) {
          background-color: #f7f7f7;
        }
        .jm-name-box {
          width: 200px;
        }
        a {
          display: block;
          line-height: 20px;
        }
        .jm-imgbox {
          margin-left: 10px;
          img {
            display: block;
            height: 40px;
            width: 40px;
          }
        }
        .jm-name-box {
          margin-left: 15px;
          a {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
        .jm-speed {
          margin-top: 20px;
          margin-right: 10px;
          width: 100px;
          padding: 0 4px;
          height: 8px;
          .speedlength {
            position: relative;
            height: 8px;
            width: 100%;
            background-position: 0 -240px;
            .speedscore {
              position: absolute;
              height: 8px;
              background-position: 0 -304px;
              display: block;
            }
          }
        }
      }
    }
    ::after {
      content: "";
      display: block;
      clear: both;
      overflow: hidden;
    }
  }
`;
